﻿using UnityEngine;

namespace com.susi.ui {
    public abstract class WndMonoBase : MonoBehaviour, IWnd {
        public MonoBehaviour MonoBehaviour => this;

        public virtual void Show()
        {
            gameObject.SetActive(true);
        }

        public virtual void Hide()
        {
            gameObject.SetActive(false);
        }

        public virtual IWnd OnMulLoad()
        {
            return this;
        }
        
    }
}